package com.boolib.scheck.aop.common;

public enum ResponseCode {

    SUCCESS(0,"SUCCESS"),
    ERROR(1,"ERROR"),
    USER_NOT_FOUND(2,"USER_NOT_FOUND"),
    ILLEGAL_ARGUMENT(10,"ILLEGAL_ARGUMENT");

    private int code;

    private String desc;

    ResponseCode(int code, String desc) {
        this.code = code ;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
